const path = require('path');
const resolve = dir => path.join(__dirname,dir)


module.exports = {
    publicPath: './', //后缀与即将访问的一样

   
    chainWebpack: (config)=>{
        config.resolve.alias
            .set("style", resolve('src/assets/styles'))
            .set('@',resolve('src'))
            .set('pubCom',resolve('src/pubComponent'))
            .set('homeFoot',resolve('src/page/home'))
    }
}